home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
boostrs.arc
/
MOVEBG.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1985-11-03
|
991b
|
24 lines
{ ------------------------------------------------
MOVEBG moves one part of the screen to another,
while preserving the background.
------------------------------------------------ }
Procedure MOVEBG ( Page : HeapBuf;
X1 : ColumnType;
Y1 : RowType;
X2 : ColumnType;
Y2 : RowType;
X3 : ColumnType;
Y3 : RowType ); external 'MoveBg.Com';
{ Type HeapBuf = ^AnyBuf;
AnyBuf = record
Screen : array[1..4000] of byte;
end;
Moves block defined by upper left and lower right
coordinates (X1,Y1),(X2,Y2) to a block beginning
at upper left coordinates (X3,Y3). The orginal
block is saved, the background 'Page' refreshed,
then the block is redisplayed at its new position. }